orderDetailController = BaseController.extend({
	template:'orderDetail',
	center:'订单详情',
	mainView: 'orderDetail',
	headerTransparent:false,
	waitOn:function(){
		let self = this;
		if (this.params['id']) {
			Meteor.subscribe('orders', {id:parseInt(this.params['id'])}, {});
		}
	},
	data: function(){
		let self = this;
		return {
			order: function(){
				return Orders.findOne();
			},
		};
	}
})
